package com.bluecoffee.domain;

import java.util.Date;

/**
 * Created by qianlong on 16/10/2.
 */
public class Book {

    private Long bookId;

    private String title;

    private String author;

    private Date createTime;

    public Book(){}

    public Book(Long bookId,String title,String author,Date createTime){
        this.bookId = bookId;
        this.title = title;
        this.author = author;
        this.createTime = createTime;
    }

    public Book(String title,String author,Date createTime){
        this.title = title;
        this.author = author;
        this.createTime = createTime;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
